#ifndef CODECONTAINER_HPP_
#define CODECONTAINER_HPP_

#include "Instruction.hpp"
#include "IdentTable.hpp"
#include <vector>


class CodeContainer {

	private:
		std::vector<Instruction*> tabInstructions;

	public:
		CodeContainer();
		virtual ~CodeContainer();


		void add(Instruction* instruction);
		void add(CodeContainer* code);


		int size();

		void show(IdentTable * identTable);

		Instruction * getInstruction (int i);
};

#endif /* CODECONTAINER_HPP_ */
